package demo6.demo1;

public class PP {
    private String ss;
    private Ref1 ref;

    public String getSs() {
        return ss;
    }

    public void setSs(String ss) {
        this.ss = ss;
    }

    public Ref1 getRef() {
        return ref;
    }

    public void setRef(Ref1 ref) {
        this.ref = ref;
    }

    public void Kk(){
        System.out.println("String:"+ss+";");

    }
    public void ref1(){
        ref.hello();
    }
}
